package com.ljc.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
public class DeviceUtilization {
    private int id;
    private String collegeName;
    @JsonFormat(pattern = "yyyy")
    private Date annual;
    private String deviceName;
    private  String deviceNumber;
    private int deviceQuantity;
    private BigDecimal devicePrice;
    @JsonFormat(pattern = "yyyy")
    private Date purchaseYear;
    private int availableHour;
    private int ratedHour;
    private BigDecimal utilization;
    private int userId;
}
